package com.yunhe.spring.test;

import com.yunhe.spring.servlet.UserServlet;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class App {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("beans.xml");
        UserServlet userServlet = context.getBean(UserServlet.class);

        userServlet.save();
    }
}
